home *** CD-ROM | disk | FTP | other *** search
Text File | 1994-02-18 | 37.3 KB | 2,789 lines |
- ;
- ; Script conversion of file 3DGAME2.WLD
- ;
- Type: WRLD
- Title: "\n\n\r"
- "World file 3DGAME2.WLD revision 30\n\r"
- "Saved from VRT version 3.11\n\r"
- "\x1A"
- ;
- ;-------Object 0-------------------------------------------------------
- ;
- Chunk: Standard
- Name: "RootObject"
- Number: 0
- Size: 2147483647 2147483647 2147483647
- Position: 0 0 0
- Type: 65535
- Layer: 0
- DFlags: E
- End_Chunk
- Chunk: ViewPoint
- Number: 100
- Subchunk
- Number: 1
- Type: 35
- View: 0
- Point: 0
- Frames: 1
- Position: 0 Frame: 0 Type: StraightMove Pos: 1990372 25630 1997181
- Rotation: 0 Frame: 0 Type: Relative Offset: 5348 167 0 Zoom: 0x2000
- Subchunk
- Number: 2
- Type: 45
- View: 0
- Point: 0
- Frames: 1
- Position: 0 Frame: 0 Type: StraightMove Pos: 2001050 10550 1997800
- Rotation: 0 Frame: 0 Type: Relative Offset: 4555 0 0 Zoom: 0x2000
- Subchunk
- Number: 3
- Type: 45
- View: 15
- Point: 0
- Frames: 1
- Position: 0 Frame: 0 Type: StraightMove Pos: 643 523 392
- Rotation: 0 Frame: 0 Type: Relative Offset: 0 0 0 Zoom: 0x2000
- Subchunk
- Number: 10
- Type: 45
- View: 15
- Point: 0
- Frames: 1
- Position: 0 Frame: 0 Type: StraightMove Pos: -354 523 390
- Rotation: 0 Frame: 0 Type: Relative Offset: 0 16 0 Zoom: 0x0AF9
- Subchunk
- Number: 11
- Type: 45
- View: 15
- Point: 0
- Frames: 1
- Position: 0 Frame: 0 Type: StraightMove Pos: 1642 523 391
- Rotation: 0 Frame: 0 Type: Relative Offset: 0 0 0 Zoom: 0x0AF9
- End_Chunk
- Chunk: Colours
- Number: 6
- 0xFC 0x04 0x01 0xFF 0x00 0x01
- End_Chunk
- Chunk: LightSource
- Brightness: 1600
- Offset: -724 1448 -1254
- Rotation: 0x0000 0x0000 0x0000
- BeamWidth: 0
- Dispersion: 100
- Colour: 0xFF 0xFF 0xFF
- BeamEdge: 0
- Flags: pOo
- End_Chunk
-
- Children:
- ;
- ;-------Object 1-------------------------------------------------------
- ;
- Chunk: Standard
- Name: "Anchor"
- Number: 1
- Size: 100000 1 100000
- Position: 1950000 0 2000000
- Type: 0
- Layer: 0
- End_Chunk
- Chunk: Colours
- Number: 6
- 0x00 0x00 0x00 0x00 0x00 0x00
- End_Chunk
- ;
- ;-------Object 7-------------------------------------------------------
- ;
- Chunk: Standard
- Name: "Room"
- Number: 7
- Size: 40000 30000 80000
- Position: 1970000 0 2000000
- Type: 10
- Layer: 0
- DFlags: E
- End_Chunk
- Chunk: Colours
- Number: 131
- 0x00 0x2A 0x28 0x26 0x24 0x26 0x2A 0x74 0x74 0x76 0x77 0x76 0x75 0x77 0x2A 0x77
- 0x2A 0x77 0x28 0x76 0x28 0x76 0x28 0x75 0x26 0x75 0x26 0x75 0x24 0x74 0x24 0x74
- 0x24 0x68 0x69 0x68 0x69 0x68 0x69 0x68 0x69 0x6A 0x6B 0x6C 0x6D 0x6E 0x6F 0x6F
- 0x6D 0x6B 0x6A 0x6C 0x6E 0x6F 0x6D 0x6B 0x6A 0x6C 0x6E 0x6F 0x6D 0x6B 0x6A 0x6C
- 0x6E 0x00 0x00 0x7F 0x7D 0x7C 0x7A 0x7B 0x7E 0x4A 0x4A 0x4C 0x4D 0x4C 0x4B 0x4D
- 0x7D 0x4D 0x7C 0x4D 0x7C 0x4C 0x7B 0x4C 0x7A 0x4B 0x7A 0x4B 0x79 0x4B 0x79 0x4A
- 0x78 0x4A 0x78 0x00 0x4D 0x4C 0x4B 0x4A 0x4B 0x4D 0x94 0x94 0x96 0x97 0x96 0x95
- 0x97 0x4D 0x97 0x4D 0x97 0x4C 0x96 0x4C 0x96 0x4C 0x95 0x4B 0x95 0x4B 0x95 0x4A
- 0x94 0x4A 0x94
- End_Chunk
-
- Chunk: SoundRef
- Number: 11
- Index: 1 Sound: 3
- Index: 2 Sound: 6
- Index: 3 Sound: 7
- Index: 4 Sound: 8
- Index: 5 Sound: 9
- Index: 6 Sound: 10
- Index: 7 Sound: 11
- Index: 8 Sound: 12
- Index: 9 Sound: 13
- Index: 10 Sound: 4
- Index: 11 Sound: 5
- End_Chunk
- Chunk: SCL
- short STEREO=1;
-
-
-
- resume (2, 2);
-
- if (first)
-
- {
-
- counter (15)=STEREO;
-
- setvp (3);
-
- sound (10, 64, 100, 0);
-
- wait (50);
-
- /*
-
-
-
- c(20) holds score
-
-
-
- */
-
- }
-
- if (getwin==1)
-
- {
-
- instr (1)=counter (20);
-
- update (1);
-
- }
-
- else
-
- {
-
- instr (2)=counter (20);
-
- update (2);
-
- instr (3)=counter (20);
-
- update (3);
-
- }
- end
- End_Chunk
-
- Children:
- ;
- ;-------Object 20-------------------------------------------------------
- ;
- Chunk: Standard
- Name: "step[20]"
- Number: 20
- Size: 10 29999 80000
- Position: 39900 0 0
- Type: 65535
- Layer: 0
- End_Chunk
- ;
- ;-------Object 41-------------------------------------------------------
- ;
- Chunk: Standard
- Name: "step[41]"
- Number: 41
- Size: 10000 3000 10000
- Position: 0 17000 60000
- Type: 0
- Layer: 0
- End_Chunk
- Chunk: Colours
- Number: 6
- 0x25 0xE1 0xE0 0xE1 0xBA 0x26
- End_Chunk
- Chunk: SCL
- long y;
-
-
-
- resume (2, 2);
-
- if (counter (15)==1)
-
- {
-
- if (getwin==1)
-
- {
-
- setwin (2);
-
- setvp (10);
-
- ascale;
-
- y=yscale/2;
-
- write (&yscale)=y;
-
- setwin (3);
-
- setvp (11);
-
- write (&yscale)=y;
-
- setwin (2);
-
- }
-
- else
-
- {
-
- setwin (1);
-
- setvp (3);
-
- }
-
- waitfs (5);
-
- counter (15)=0;
-
- }
- end
- End_Chunk
- ;
- ;-------Object 49-------------------------------------------------------
- ;
- Chunk: Standard
- Name: "section2"
- Number: 49
- Size: 10000 15214 20000
- Position: 17000 13000 60000
- Type: 65535
- Layer: 0
- DFlags: E
- End_Chunk
- Chunk: SCL
- long y;
-
-
-
- resume (2, 2);
-
- if (counter (15)==1)
-
- {
-
- if (getwin==1)
-
- {
-
- setwin (2);
-
- setvp (10);
-
- ascale;
-
- y=yscale/2;
-
- write (&yscale)=y;
-
- setwin (3);
-
- setvp (11);
-
- write (&yscale)=y;
-
- setwin (2);
-
- }
-
- else
-
- {
-
- setwin (1);
-
- setvp (3);
-
- }
-
- waitfs (5);
-
- counter (15)=0;
-
- }
- end
- End_Chunk
-
- Children:
- ;
- ;-------Object 42-------------------------------------------------------
- ;
- Chunk: Standard
- Name: "step[42]"
- Number: 42
- Size: 10000 3000 10000
- Position: 0 0 0
- Type: 0
- Layer: 0
- End_Chunk
- Chunk: Colours
- Number: 6
- 0xE0 0xE1 0xE0 0xE1 0xBA 0x26
- End_Chunk
- Chunk: SCL
- long y;
-
-
-
- resume (2, 2);
-
- if (counter (15)==1)
-
- {
-
- if (getwin==1)
-
- {
-
- setwin (2);
-
- setvp (10);
-
- ascale;
-
- y=yscale/2;
-
- write (&yscale)=y;
-
- setwin (3);
-
- setvp (11);
-
- write (&yscale)=y;
-
- setwin (2);
-
- }
-
- else
-
- {
-
- setwin (1);
-
- setvp (3);
-
- }
-
- waitfs (5);
-
- counter (15)=0;
-
- }
- end
- End_Chunk
- ;
- ;-------Object 47-------------------------------------------------------
- ;
- Chunk: Standard
- Name: "step[47]"
- Number: 47
- Size: 4000 1000 5000
- Position: 3000 2000 10000
- Type: 19
- Layer: 0
- End_Chunk
- Chunk: SCL
- long y;
-
-
-
- resume (2, 2);
-
- if (counter (15)==1)
-
- {
-
- if (getwin==1)
-
- {
-
- setwin (2);
-
- setvp (10);
-
- ascale;
-
- y=yscale/2;
-
- write (&yscale)=y;
-
- setwin (3);
-
- setvp (11);
-
- write (&yscale)=y;
-
- setwin (2);
-
- }
-
- else
-
- {
-
- setwin (1);
-
- setvp (3);
-
- }
-
- waitfs (5);
-
- counter (15)=0;
-
- }
- end
- End_Chunk
- ;
- ;-------Object 48-------------------------------------------------------
- ;
- Chunk: Standard
- Name: "step[48]"
- Number: 48
- Size: 7000 1000 5000
- Position: 3000 2000 15000
- Type: 19
- Layer: 0
- End_Chunk
- Chunk: SCL
- long y;
-
-
-
- resume (2, 2);
-
- if (counter (15)==1)
-
- {
-
- if (getwin==1)
-
- {
-
- setwin (2);
-
- setvp (10);
-
- ascale;
-
- y=yscale/2;
-
- write (&yscale)=y;
-
- setwin (3);
-
- setvp (11);
-
- write (&yscale)=y;
-
- setwin (2);
-
- }
-
- else
-
- {
-
- setwin (1);
-
- setvp (3);
-
- }
-
- waitfs (5);
-
- counter (15)=0;
-
- }
- end
- End_Chunk
- ;
- ;-------Object 44-------------------------------------------------------
- ;
- Chunk: Standard
- Name: "Coin-Grp[44]"
- Number: 44
- Size: 1000 1000 1000
- Position: 3662 11000 7208
- Type: 65535
- Layer: 0
- DFlags: rc
- End_Chunk
-
- Chunk: SoundRef
- Number: 2
- Index: 1 Sound: 13
- Index: 2 Sound: 3
- End_Chunk
- Chunk: SCL
- if (activate (me, 3))
-
- {
-
- counter (20)+=100;
-
- invis (me);
-
- kill (me);
-
- sound (2, 70, 70, 1);
-
- }
- end
- End_Chunk
- Chunk: Angular Velocities
- Initial: 0x04FA 0x093E 0x0000
- End_Chunk
- Chunk: Rotations
- Initial: 0x0000 0x0000 0x0000
- Centre: 500 500 500
- End_Chunk
-
- Children:
- ;
- ;-------Object 45-------------------------------------------------------
- ;
- Chunk: Standard
- Name: "coin[45]"
- Number: 45
- Size: 1000 1000 400
- Position: 0 0 300
- Type: 17
- Layer: 0
- End_Chunk
- Chunk: Distancing
- Visible: 3000
- Invisible: 3750
- Replace: 46
- End_Chunk
- ;
- ;-------Object 46-------------------------------------------------------
- ;
- Chunk: Standard
- Name: "coin-rep1[46]"
- Number: 46
- Size: 1000 1000 400
- Position: 0 0 300
- Type: 18
- Layer: 0
- DFlags: R
- OFlags: Ii
- End_Chunk
- Chunk: Distancing
- Visible: 6000
- Invisible: 7500
- Replace: 0
- End_Chunk
-
- End_Children
- ;
- ;-------Object 17-------------------------------------------------------
- ;
- Chunk: Standard
- Name: "Coin-Grp[17]"
- Number: 17
- Size: 1000 1000 1000
- Position: 6913 14067 4855
- Type: 65535
- Layer: 0
- DFlags: rc
- End_Chunk
-
- Chunk: SoundRef
- Number: 2
- Index: 1 Sound: 13
- Index: 2 Sound: 3
- End_Chunk
- Chunk: SCL
- if (activate (me, 3))
-
- {
-
- counter (20)+=100;
-
- invis (me);
-
- kill (me);
-
- sound (2, 70, 70, 1);
-
- }
- end
- End_Chunk
- Chunk: Angular Velocities
- Initial: 0x04FA 0x093E 0x0000
- End_Chunk
- Chunk: Rotations
- Initial: 0x0000 0x0000 0x0000
- Centre: 500 500 500
- End_Chunk
-
- Children:
- ;
- ;-------Object 18-------------------------------------------------------
- ;
- Chunk: Standard
- Name: "coin[18]"
- Number: 18
- Size: 1000 1000 400
- Position: 0 0 300
- Type: 17
- Layer: 0
- End_Chunk
- Chunk: Distancing
- Visible: 3000
- Invisible: 3750
- Replace: 43
- End_Chunk
- ;
- ;-------Object 43-------------------------------------------------------
- ;
- Chunk: Standard
- Name: "coin-rep1[43]"
- Number: 43
- Size: 1000 1000 400
- Position: 0 0 300
- Type: 18
- Layer: 0
- DFlags: R
- OFlags: Ii
- End_Chunk
- Chunk: Distancing
- Visible: 6000
- Invisible: 7500
- Replace: 0
- End_Chunk
-
- End_Children
- ;
- ;-------Object 55-------------------------------------------------------
- ;
- Chunk: Standard
- Name: "Coin-Grp[55]"
- Number: 55
- Size: 1000 1000 1000
- Position: 2514 11000 2748
- Type: 65535
- Layer: 0
- DFlags: rc
- End_Chunk
-
- Chunk: SoundRef
- Number: 2
- Index: 1 Sound: 13
- Index: 2 Sound: 3
- End_Chunk
- Chunk: SCL
- if (activate (me, 3))
-
- {
-
- counter (20)+=100;
-
- invis (me);
-
- kill (me);
-
- sound (2, 70, 70, 1);
-
- }
- end
- End_Chunk
- Chunk: Angular Velocities
- Initial: 0x04FA 0x093E 0x0000
- End_Chunk
- Chunk: Rotations
- Initial: 0x0000 0x0000 0x0000
- Centre: 500 500 500
- End_Chunk
-
- Children:
- ;
- ;-------Object 56-------------------------------------------------------
- ;
- Chunk: Standard
- Name: "coin[56]"
- Number: 56
- Size: 1000 1000 400
- Position: 0 0 300
- Type: 17
- Layer: 0
- End_Chunk
- Chunk: Distancing
- Visible: 3000
- Invisible: 3750
- Replace: 57
- End_Chunk
- ;
- ;-------Object 57-------------------------------------------------------
- ;
- Chunk: Standard
- Name: "coin-rep1[57]"
- Number: 57
- Size: 1000 1000 400
- Position: 0 0 300
- Type: 18
- Layer: 0
- DFlags: R
- OFlags: Ii
- End_Chunk
- Chunk: Distancing
- Visible: 6000
- Invisible: 7500
- Replace: 0
- End_Chunk
-
- End_Children
- ;
- ;-------Object 58-------------------------------------------------------
- ;
- Chunk: Standard
- Name: "Coin-Grp[58]"
- Number: 58
- Size: 1000 1000 1000
- Position: 1850 11000 5060
- Type: 65535
- Layer: 0
- DFlags: rc
- End_Chunk
-
- Chunk: SoundRef
- Number: 2
- Index: 1 Sound: 13
- Index: 2 Sound: 3
- End_Chunk
- Chunk: SCL
- if (activate (me, 3))
-
- {
-
- counter (20)+=100;
-
- invis (me);
-
- kill (me);
-
- sound (2, 70, 70, 1);
-
- }
- end
- End_Chunk
- Chunk: Angular Velocities
- Initial: 0x04FA 0x093E 0x0000
- End_Chunk
- Chunk: Rotations
- Initial: 0x0000 0x0000 0x0000
- Centre: 500 500 500
- End_Chunk
-
- Children:
- ;
- ;-------Object 59-------------------------------------------------------
- ;
- Chunk: Standard
- Name: "coin[59]"
- Number: 59
- Size: 1000 1000 400
- Position: 0 0 300
- Type: 17
- Layer: 0
- End_Chunk
- Chunk: Distancing
- Visible: 3000
- Invisible: 3750
- Replace: 60
- End_Chunk
- ;
- ;-------Object 60-------------------------------------------------------
- ;
- Chunk: Standard
- Name: "coin-rep1[60]"
- Number: 60
- Size: 1000 1000 400
- Position: 0 0 300
- Type: 18
- Layer: 0
- DFlags: R
- OFlags: Ii
- End_Chunk
- Chunk: Distancing
- Visible: 6000
- Invisible: 7500
- Replace: 0
- End_Chunk
-
- End_Children
-
- End_Children
- ;
- ;-------Object 50-------------------------------------------------------
- ;
- Chunk: Standard
- Name: "step[50]"
- Number: 50
- Size: 4000 1000 28000
- Position: 35900 15000 47000
- Type: 19
- Layer: 0
- End_Chunk
- Chunk: SCL
- long y;
-
-
-
- resume (2, 2);
-
- if (counter (15)==1)
-
- {
-
- if (getwin==1)
-
- {
-
- setwin (2);
-
- setvp (10);
-
- ascale;
-
- y=yscale/2;
-
- write (&yscale)=y;
-
- setwin (3);
-
- setvp (11);
-
- write (&yscale)=y;
-
- setwin (2);
-
- }
-
- else
-
- {
-
- setwin (1);
-
- setvp (3);
-
- }
-
- waitfs (5);
-
- counter (15)=0;
-
- }
- end
- End_Chunk
- ;
- ;-------Object 37-------------------------------------------------------
- ;
- Chunk: Standard
- Name: "section"
- Number: 37
- Size: 10000 30000 60000
- Position: 10 0 0
- Type: 65535
- Layer: 0
- DFlags: E
- End_Chunk
- Chunk: Colours
- Number: 18
- 0x0B 0x0B 0x0B 0x0B 0x0B 0x0B 0x0B 0x0B 0x0B 0x0B 0x0B 0x0B 0x0B 0x0B 0x0B 0x0B
- 0x0B 0x0B
- End_Chunk
- Chunk: SCL
- long y;
-
- short in2, in3;
-
-
-
- resume (2, 2);
-
- if (counter (15)==1)
-
- {
-
- if (getwin==1)
-
- {
-
- setwin (2);
-
- waitf;
-
- write (&insy (1))=ywincent-ywinsize+20;
-
- setvp (10);
-
- ascale;
-
- y=yscale/2;
-
- write (&yscale)=y;
-
- setwin (3);
-
- waitf;
-
- in2=ywincent-ywinsize+20;
-
- setvp (11);
-
- write (&yscale)=y;
-
- setwin (2);
-
- write (&insy (2))=in2;
-
- }
-
- else
-
- {
-
- setwin (1);
-
- setvp (3);
-
- }
-
- waitfs (5);
-
- counter (15)=0;
-
- }
- end
- End_Chunk
-
- Children:
- ;
- ;-------Object 5-------------------------------------------------------
- ;
- Chunk: Standard
- Name: "step"
- Number: 5
- Size: 10000 4000 10000
- Position: 0 0 10000
- Type: 0
- Layer: 0
- End_Chunk
- Chunk: Colours
- Number: 6
- 0x25 0xE1 0xE0 0x24 0xBA 0x26
- End_Chunk
- Chunk: SCL
- long y;
-
-
-
- resume (2, 2);
-
- if (counter (15)==1)
-
- {
-
- if (getwin==1)
-
- {
-
- setwin (2);
-
- setvp (10);
-
- ascale;
-
- y=yscale/2;
-
- write (&yscale)=y;
-
- setwin (3);
-
- setvp (11);
-
- write (&yscale)=y;
-
- setwin (2);
-
- }
-
- else
-
- {
-
- setwin (1);
-
- setvp (3);
-
- }
-
- waitfs (5);
-
- counter (15)=0;
-
- }
- end
- End_Chunk
- ;
- ;-------Object 6-------------------------------------------------------
- ;
- Chunk: Standard
- Name: "step[6]"
- Number: 6
- Size: 10000 8000 10000
- Position: 0 0 20000
- Type: 0
- Layer: 0
- End_Chunk
- Chunk: Colours
- Number: 6
- 0x25 0xE1 0xE0 0xE1 0xB8 0x26
- End_Chunk
- Chunk: SCL
- long y;
-
-
-
- resume (2, 2);
-
- if (counter (15)==1)
-
- {
-
- if (getwin==1)
-
- {
-
- setwin (2);
-
- setvp (10);
-
- ascale;
-
- y=yscale/2;
-
- write (&yscale)=y;
-
- setwin (3);
-
- setvp (11);
-
- write (&yscale)=y;
-
- setwin (2);
-
- }
-
- else
-
- {
-
- setwin (1);
-
- setvp (3);
-
- }
-
- waitfs (5);
-
- counter (15)=0;
-
- }
- end
- End_Chunk
- ;
- ;-------Object 8-------------------------------------------------------
- ;
- Chunk: Standard
- Name: "step[8]"
- Number: 8
- Size: 10000 8000 10000
- Position: 0 0 40000
- Type: 0
- Layer: 0
- End_Chunk
- Chunk: Colours
- Number: 6
- 0x25 0xE1 0xE0 0xE1 0xBA 0x26
- End_Chunk
- Chunk: SCL
- long y;
-
-
-
- resume (2, 2);
-
- if (counter (15)==1)
-
- {
-
- if (getwin==1)
-
- {
-
- setwin (2);
-
- setvp (10);
-
- ascale;
-
- y=yscale/2;
-
- write (&yscale)=y;
-
- setwin (3);
-
- setvp (11);
-
- write (&yscale)=y;
-
- setwin (2);
-
- }
-
- else
-
- {
-
- setwin (1);
-
- setvp (3);
-
- }
-
- waitfs (5);
-
- counter (15)=0;
-
- }
- end
- End_Chunk
- ;
- ;-------Object 25-------------------------------------------------------
- ;
- Chunk: Standard
- Name: "Coin-Grp[25]"
- Number: 25
- Size: 1000 1000 1000
- Position: 6254 10000 27338
- Type: 65535
- Layer: 0
- DFlags: rc
- End_Chunk
-
- Chunk: SoundRef
- Number: 2
- Index: 1 Sound: 13
- Index: 2 Sound: 3
- End_Chunk
- Chunk: SCL
- if (activate (me, 3))
-
- {
-
- counter (20)+=100;
-
- invis (me);
-
- kill (me);
-
- sound (2, 70, 70, 1);
-
- }
- end
- End_Chunk
- Chunk: Angular Velocities
- Initial: 0x0444 0x0AAA 0x0000
- End_Chunk
- Chunk: Rotations
- Initial: 0x0000 0x0000 0x0000
- Centre: 500 500 500
- End_Chunk
-
- Children:
- ;
- ;-------Object 26-------------------------------------------------------
- ;
- Chunk: Standard
- Name: "coin[26]"
- Number: 26
- Size: 1000 1000 400
- Position: 0 0 300
- Type: 17
- Layer: 0
- OFlags: r
- End_Chunk
- Chunk: Distancing
- Visible: 3000
- Invisible: 3750
- Replace: 27
- End_Chunk
- ;
- ;-------Object 27-------------------------------------------------------
- ;
- Chunk: Standard
- Name: "coin-rep1[27]"
- Number: 27
- Size: 1000 1000 400
- Position: 0 0 300
- Type: 18
- Layer: 0
- DFlags: R
- OFlags: Ii
- End_Chunk
- Chunk: Distancing
- Visible: 6000
- Invisible: 7500
- Replace: 0
- End_Chunk
-
- End_Children
- ;
- ;-------Object 28-------------------------------------------------------
- ;
- Chunk: Standard
- Name: "Coin-Grp[28]"
- Number: 28
- Size: 1000 1000 1000
- Position: 7928 5000 4544
- Type: 65535
- Layer: 0
- DFlags: rc
- End_Chunk
-
- Chunk: SoundRef
- Number: 2
- Index: 1 Sound: 13
- Index: 2 Sound: 3
- End_Chunk
- Chunk: SCL
- if (activate (me, 3))
-
- {
-
- counter (20)+=100;
-
- invis (me);
-
- kill (me);
-
- sound (2, 70, 70, 1);
-
- }
- end
- End_Chunk
- Chunk: Angular Velocities
- Initial: 0x038E 0x0666 0x0000
- End_Chunk
- Chunk: Rotations
- Initial: 0x0000 0x0000 0x0000
- Centre: 500 500 500
- End_Chunk
-
- Children:
- ;
- ;-------Object 29-------------------------------------------------------
- ;
- Chunk: Standard
- Name: "coin[29]"
- Number: 29
- Size: 1000 1000 400
- Position: 0 0 300
- Type: 17
- Layer: 0
- End_Chunk
- Chunk: Distancing
- Visible: 3000
- Invisible: 3750
- Replace: 30
- End_Chunk
- ;
- ;-------Object 30-------------------------------------------------------
- ;
- Chunk: Standard
- Name: "coin-rep1[30]"
- Number: 30
- Size: 1000 1000 400
- Position: 0 0 300
- Type: 18
- Layer: 0
- DFlags: R
- OFlags: Ii
- End_Chunk
- Chunk: Distancing
- Visible: 6000
- Invisible: 7500
- Replace: 0
- End_Chunk
-
- End_Children
- ;
- ;-------Object 23-------------------------------------------------------
- ;
- Chunk: Standard
- Name: "Coin-Grp"
- Number: 23
- Size: 1000 1000 1000
- Position: 5950 8000 15984
- Type: 65535
- Layer: 0
- DFlags: rc
- End_Chunk
-
- Chunk: SoundRef
- Number: 2
- Index: 1 Sound: 13
- Index: 2 Sound: 3
- End_Chunk
- Chunk: SCL
- if (activate (me, 3))
-
- {
-
- counter (20)+=100;
-
- invis (me);
-
- kill (me);
-
- sound (2, 70, 70, 1);
-
- }
- end
- End_Chunk
- Chunk: Angular Velocities
- Initial: 0x04FA 0x093E 0x0000
- End_Chunk
- Chunk: Rotations
- Initial: 0x0000 0x0000 0x0000
- Centre: 500 500 500
- End_Chunk
-
- Children:
- ;
- ;-------Object 16-------------------------------------------------------
- ;
- Chunk: Standard
- Name: "coin"
- Number: 16
- Size: 1000 1000 400
- Position: 0 0 300
- Type: 17
- Layer: 0
- OFlags: r
- End_Chunk
- Chunk: Distancing
- Visible: 3000
- Invisible: 3750
- Replace: 24
- End_Chunk
- ;
- ;-------Object 24-------------------------------------------------------
- ;
- Chunk: Standard
- Name: "coin-rep1"
- Number: 24
- Size: 1000 1000 400
- Position: 0 0 300
- Type: 18
- Layer: 0
- DFlags: R
- OFlags: Ii
- End_Chunk
- Chunk: Distancing
- Visible: 6000
- Invisible: 7500
- Replace: 0
- End_Chunk
-
- End_Children
- ;
- ;-------Object 34-------------------------------------------------------
- ;
- Chunk: Standard
- Name: "Coin-Grp[34]"
- Number: 34
- Size: 1000 1000 1000
- Position: 2110 13000 43456
- Type: 65535
- Layer: 0
- DFlags: rc
- End_Chunk
-
- Chunk: SoundRef
- Number: 2
- Index: 1 Sound: 13
- Index: 2 Sound: 3
- End_Chunk
- Chunk: SCL
- if (activate (me, 3))
-
- {
-
- counter (20)+=100;
-
- invis (me);
-
- kill (me);
-
- sound (2, 70, 70, 1);
-
- }
- end
- End_Chunk
- Chunk: Angular Velocities
- Initial: 0x04FA 0x093E 0x0000
- End_Chunk
- Chunk: Rotations
- Initial: 0x0000 0x0000 0x0000
- Centre: 500 500 500
- End_Chunk
-
- Children:
- ;
- ;-------Object 35-------------------------------------------------------
- ;
- Chunk: Standard
- Name: "coin[35]"
- Number: 35
- Size: 1000 1000 400
- Position: 0 0 300
- Type: 17
- Layer: 0
- OFlags: r
- End_Chunk
- Chunk: Distancing
- Visible: 3000
- Invisible: 3750
- Replace: 36
- End_Chunk
- ;
- ;-------Object 36-------------------------------------------------------
- ;
- Chunk: Standard
- Name: "coin-rep1[36]"
- Number: 36
- Size: 1000 1000 400
- Position: 0 0 300
- Type: 18
- Layer: 0
- DFlags: R
- OFlags: Ii
- End_Chunk
- Chunk: Distancing
- Visible: 6000
- Invisible: 7500
- Replace: 0
- End_Chunk
-
- End_Children
- ;
- ;-------Object 31-------------------------------------------------------
- ;
- Chunk: Standard
- Name: "Coin-Grp[31]"
- Number: 31
- Size: 1000 1000 1000
- Position: 2110 11000 47206
- Type: 65535
- Layer: 0
- DFlags: rc
- End_Chunk
-
- Chunk: SoundRef
- Number: 2
- Index: 1 Sound: 13
- Index: 2 Sound: 3
- End_Chunk
- Chunk: SCL
- if (activate (me, 3))
-
- {
-
- counter (20)+=100;
-
- invis (me);
-
- kill (me);
-
- sound (2, 70, 70, 1);
-
- }
- end
- End_Chunk
- Chunk: Angular Velocities
- Initial: 0x04FA 0x093E 0x0000
- End_Chunk
- Chunk: Rotations
- Initial: 0x0000 0x0000 0x0000
- Centre: 500 500 500
- End_Chunk
-
- Children:
- ;
- ;-------Object 32-------------------------------------------------------
- ;
- Chunk: Standard
- Name: "coin[32]"
- Number: 32
- Size: 1000 1000 400
- Position: 0 0 300
- Type: 17
- Layer: 0
- OFlags: r
- End_Chunk
- Chunk: Distancing
- Visible: 3000
- Invisible: 3750
- Replace: 33
- End_Chunk
- ;
- ;-------Object 33-------------------------------------------------------
- ;
- Chunk: Standard
- Name: "coin-rep1[33]"
- Number: 33
- Size: 1000 1000 400
- Position: 0 0 300
- Type: 18
- Layer: 0
- DFlags: R
- OFlags: Ii
- End_Chunk
- Chunk: Distancing
- Visible: 6000
- Invisible: 7500
- Replace: 0
- End_Chunk
-
- End_Children
- ;
- ;-------Object 38-------------------------------------------------------
- ;
- Chunk: Standard
- Name: "Coin-Grp[38]"
- Number: 38
- Size: 1000 1000 1000
- Position: 7238 13000 47404
- Type: 65535
- Layer: 0
- DFlags: rc
- End_Chunk
-
- Chunk: SoundRef
- Number: 2
- Index: 1 Sound: 13
- Index: 2 Sound: 3
- End_Chunk
- Chunk: SCL
- if (activate (me, 3))
-
- {
-
- counter (20)+=100;
-
- invis (me);
-
- kill (me);
-
- sound (2, 70, 70, 1);
-
- }
- end
- End_Chunk
- Chunk: Angular Velocities
- Initial: 0x04FA 0x093E 0x0000
- End_Chunk
- Chunk: Rotations
- Initial: 0x0000 0x0000 0x0000
- Centre: 500 500 500
- End_Chunk
-
- Children:
- ;
- ;-------Object 39-------------------------------------------------------
- ;
- Chunk: Standard
- Name: "coin[39]"
- Number: 39
- Size: 1000 1000 400
- Position: 0 0 300
- Type: 17
- Layer: 0
- OFlags: r
- End_Chunk
- Chunk: Distancing
- Visible: 3000
- Invisible: 3750
- Replace: 40
- End_Chunk
- ;
- ;-------Object 40-------------------------------------------------------
- ;
- Chunk: Standard
- Name: "coin-rep1[40]"
- Number: 40
- Size: 1000 1000 400
- Position: 0 0 300
- Type: 18
- Layer: 0
- DFlags: R
- OFlags: Ii
- End_Chunk
- Chunk: Distancing
- Visible: 6000
- Invisible: 7500
- Replace: 0
- End_Chunk
-
- End_Children
- ;
- ;-------Object 21-------------------------------------------------------
- ;
- Chunk: Standard
- Name: "platform"
- Number: 21
- Size: 8000 200 8000
- Position: 1139 1 50000
- Type: 14
- Layer: 0
- End_Chunk
- Chunk: InitPos
- Position: 1139 1 50000
- End_Chunk
- Chunk: SCL
- resume (2, 2);
-
- if (activate (me, 3))
-
- {
-
- do
-
- {
-
- ydrive (me)=300;
-
- waitf;
-
- }
-
- until (ypos (me)>=20000);
-
- ydrive (me)=0;
-
- ypos (me)=20000;
-
- waitfs (100);
-
- do
-
- {
-
- ydrive (me)=-300;
-
- waitf;
-
- }
-
- until (ypos (me)<=10);
-
- ydrive (me)=0;
-
- ypos (me)=0;
-
- waitfs (50);
-
- clrtrig (me, 3);
-
- }
- end
- End_Chunk
- Chunk: Dynamics
- MovType: 0x80000001
- Fuel: 0
- Climb: 0
- Gravity: 0
- Coupled: 0
- Drive: 0 0 0
- External: 0 0 0
- MaxForce: 0 0 0
- GroundFric: 0 0 0
- Restitution: 0 0 0
- Velocity: 0 0 0
- MaxVel: 0 0 0
- End_Chunk
- ;
- ;-------Object 61-------------------------------------------------------
- ;
- Chunk: Standard
- Name: "Coin-Grp[61]"
- Number: 61
- Size: 1000 1000 1000
- Position: 4752 1000 34460
- Type: 65535
- Layer: 0
- DFlags: rc
- End_Chunk
-
- Chunk: SoundRef
- Number: 2
- Index: 1 Sound: 13
- Index: 2 Sound: 3
- End_Chunk
- Chunk: SCL
- if (activate (me, 3))
-
- {
-
- counter (20)+=100;
-
- invis (me);
-
- kill (me);
-
- sound (2, 70, 70, 1);
-
- }
- end
- End_Chunk
- Chunk: Angular Velocities
- Initial: 0x04FA 0x093E 0x0000
- End_Chunk
- Chunk: Rotations
- Initial: 0x0000 0x0000 0x0000
- Centre: 500 500 500
- End_Chunk
-
- Children:
- ;
- ;-------Object 62-------------------------------------------------------
- ;
- Chunk: Standard
- Name: "coin[62]"
- Number: 62
- Size: 1000 1000 400
- Position: 0 0 300
- Type: 17
- Layer: 0
- OFlags: r
- End_Chunk
- Chunk: Distancing
- Visible: 3000
- Invisible: 3750
- Replace: 63
- End_Chunk
- ;
- ;-------Object 63-------------------------------------------------------
- ;
- Chunk: Standard
- Name: "coin-rep1[63]"
- Number: 63
- Size: 1000 1000 400
- Position: 0 0 300
- Type: 18
- Layer: 0
- DFlags: R
- OFlags: Ii
- End_Chunk
- Chunk: Distancing
- Visible: 6000
- Invisible: 7500
- Replace: 0
- End_Chunk
-
- End_Children
-
- End_Children
- ;
- ;-------Object 19-------------------------------------------------------
- ;
- Chunk: Standard
- Name: "Collisio"
- Number: 19
- Size: 10 29999 80000
- Position: 1000 0 0
- Type: 65535
- Layer: 0
- End_Chunk
- ;
- ;-------Object 51-------------------------------------------------------
- ;
- Chunk: Standard
- Name: "step[51]"
- Number: 51
- Size: 12900 1000 5000
- Position: 27000 15000 75000
- Type: 19
- Layer: 0
- End_Chunk
- Chunk: SCL
- long y;
-
-
-
- resume (2, 2);
-
- if (counter (15)==1)
-
- {
-
- if (getwin==1)
-
- {
-
- setwin (2);
-
- setvp (10);
-
- ascale;
-
- y=yscale/2;
-
- write (&yscale)=y;
-
- setwin (3);
-
- setvp (11);
-
- write (&yscale)=y;
-
- setwin (2);
-
- }
-
- else
-
- {
-
- setwin (1);
-
- setvp (3);
-
- }
-
- waitfs (5);
-
- counter (15)=0;
-
- }
- end
- End_Chunk
- ;
- ;-------Object 52-------------------------------------------------------
- ;
- Chunk: Standard
- Name: "platform[52]"
- Number: 52
- Size: 4000 200 4000
- Position: 35900 12000 43000
- Type: 14
- Layer: 0
- End_Chunk
- Chunk: InitPos
- Position: 35900 12000 43000
- End_Chunk
- Chunk: SCL
- resume (2, 2);
-
- if (activate (me, 3))
-
- {
-
- do
-
- {
-
- ydrive (me)=300;
-
- waitf;
-
- }
-
- until (ypos (me)>=29800);
-
- ydrive (me)=0;
-
- ypos (me)=29800;
-
- waitfs (100);
-
- do
-
- {
-
- ydrive (me)=-300;
-
- waitf;
-
- }
-
- until (ypos (me)<=11500);
-
- ydrive (me)=0;
-
- ypos (me)=12000;
-
- waitfs (50);
-
- clrtrig (me, 3);
-
- }
- end
- End_Chunk
- Chunk: Dynamics
- MovType: 0x80000001
- Fuel: 0
- Climb: 0
- Gravity: 0
- Coupled: 0
- Drive: 0 0 0
- External: 0 0 0
- MaxForce: 0 0 0
- GroundFric: 0 0 0
- Restitution: 0 0 0
- Velocity: 0 0 0
- MaxVel: 0 0 0
- End_Chunk
-
- End_Children
- ;
- ;-------Object 53-------------------------------------------------------
- ;
- Chunk: Standard
- Name: "Collisio[53]"
- Number: 53
- Size: 62719 29999 80000
- Position: 1961000 0 2080000
- Type: 65535
- Layer: 0
- End_Chunk
- ;
- ;-------Object 54-------------------------------------------------------
- ;
- Chunk: Standard
- Name: "Collisio[54]"
- Number: 54
- Size: 62719 29999 80000
- Position: 1961000 0 1920000
- Type: 65535
- Layer: 0
- End_Chunk
-
- End_Children
- ;
- ;-------Object 2-------------------------------------------------------
- ;
- Chunk: Standard
- Name: "Object-X"
- Number: 2
- Size: 1400 4000 1400
- Position: 2000602 1000 2007146
- Type: 65535
- Layer: 0
- DFlags: cM
- End_Chunk
-
- Chunk: SoundRef
- Number: 11
- Index: 1 Sound: 3
- Index: 2 Sound: 6
- Index: 3 Sound: 7
- Index: 4 Sound: 8
- Index: 5 Sound: 9
- Index: 6 Sound: 10
- Index: 7 Sound: 11
- Index: 8 Sound: 12
- Index: 9 Sound: 13
- Index: 10 Sound: 4
- Index: 11 Sound: 5
- End_Chunk
- Chunk: Dynamics
- MovType: 0x80000083
- Fuel: 0
- Climb: 0
- Gravity: 0
- Coupled: 4
- Drive: 0 0 0
- External: 0 0 0
- MaxForce: 0 0 0
- GroundFric: 0 0 0
- Restitution: 0 0 0
- Velocity: 0 0 0
- MaxVel: 0 0 0
- End_Chunk
- Chunk: Angular Velocities
- Initial: 0x0000 0x0666 0x0000
- End_Chunk
- Chunk: Bending
- Number: 1
- Subchunk
- Angle: 0 0 0
- First: 9
- Last: 16
- Centre: 8
- End_Chunk
- Chunk: InitPos
- Position: 2000602 1000 2007146
- End_Chunk
- Chunk: SCL
- long VertV, Grav=-100, Height=4000, CoRes=80, base=30,
-
- Phase=0, Squash=7, AntiSqsh=700, SqoshVel;
-
- short dir, mag;
-
- fixed R;
-
-
-
- /* Phase=0 normal movemont */
-
-
-
- if (Phase==0)
-
- {
-
- if (activate (me, 0))
-
- VertV=1000;
-
- moveby (0, VertV, 0, me);
-
- VertV+=Grav;
-
- zdrive (me)=mag;
-
- if (!vis? (#22))
-
- ypos (#22)=ypos (me);
-
- }
-
- if (objon (me)>0 && Phase==0)
-
- {
-
- zdrive (me)=0;
-
- /* ypos (me)=base; */
-
- Phase=1;
-
- SqoshVel=10*VertV/Squash;
-
-
-
- /* -print- (VertV);
-
- *//* Squash Phase */
-
- if (!attr? (object (objon (me)), 22))
-
- {
-
- vis (#22);
-
- unkill (#22);
-
- }
-
- sound (6, 65, -7000, 0);
-
- }
-
- if (Phase==1)
-
- {
-
- write (&ysize (#3))+=SqoshVel;
-
- ypos (#22)=ypos (me);
-
- if (ysize (#3)<10)
-
- ysize (#3)=10;
-
- if (ysize (#3)>Height)
-
- {
-
- write (&ysize (#3))=Height;
-
- Phase=0;
-
- VertV=- (VertV*CoRes)/100;
-
-
-
- /*
-
-
-
- Process Joystick
-
-
-
- */
-
-
-
-
-
- yrot (#4)=fatan2 (counter (11), counter (10));
-
- zdrive (me)=sqrt (counter (11)*counter (11)+counter
-
- (10)*counter (10))/5;
-
- mag=zdrive (me);
-
- if (counter (12)==1 || counter (13))
-
- {
-
- if (VertV<1200)
-
- VertV+=200;
-
- }
-
- counter (12)=0;
-
- counter (13)=0;
-
- sound (6, 70, -10000, 0);
-
- }
-
- SqoshVel+=AntiSqsh;
-
- }
-
- xrot (#9)=limit (- (VertV*zdrive (me))/8000, -60, 60);
-
- yrot (#10)=-yrot (#4)+fatan2 (counter (11), counter (10));
-
- R=yrot (#10);
-
- counter (10)=0;
-
- counter (11)=0;
-
-
- end
- End_Chunk
-
- Children:
- ;
- ;-------Object 4-------------------------------------------------------
- ;
- Chunk: Standard
- Name: "Dir"
- Number: 4
- Size: 1000 4000 1000
- Position: 200 0 200
- Type: 65535
- Layer: 0
- DFlags: r
- End_Chunk
- Chunk: Rotations
- Initial: 0x0000 0x0000 0x0000
- Centre: 500 2000 500
- End_Chunk
-
- Children:
- ;
- ;-------Object 9-------------------------------------------------------
- ;
- Chunk: Standard
- Name: "Sostilt"
- Number: 9
- Size: 1000 4000 1000
- Position: 0 0 0
- Type: 65535
- Layer: 0
- DFlags: r
- End_Chunk
- Chunk: Rotations
- Initial: 0x0000 0x0000 0x0000
- Centre: 500 0 500
- End_Chunk
-
- Children:
- ;
- ;-------Object 10-------------------------------------------------------
- ;
- Chunk: Standard
- Name: "SosParts"
- Number: 10
- Size: 1000 4000 1000
- Position: 0 0 0
- Type: 65535
- Layer: 0
- DFlags: r
- End_Chunk
- Chunk: Rotations
- Initial: 0x0000 0x0000 0x0000
- Centre: 500 0 500
- End_Chunk
-
- Children:
- ;
- ;-------Object 11-------------------------------------------------------
- ;
- Chunk: Standard
- Name: "eye"
- Number: 11
- Size: 500 500 0
- Position: -100 2807 1000
- Type: 9
- Layer: 0
- DFlags: r
- OFlags: Aa
- End_Chunk
- Chunk: Animations
- Number: 1
- Subchunk
- First: 1
- Last: 2
- Phase: 0x0100
- Velocity: 0x0100
- Mode: 0
- End_Chunk
- Chunk: Rotations
- Initial: 0x0000 0x0000 0x0000
- Centre: 250 250 0
- End_Chunk
- Chunk: SCL
- long x, y, z;
-
-
-
- resume (2, 2);
-
- y=angle3d (#15, me, &x);
-
- xrot (me)=x;
-
- xrot (#12)=x;
-
- yrot (me)=y;
-
- yrot (#12)=y;
-
- if (!random (40))
-
- {
-
- ccel (me, 1)=2;
-
- ccel (#12, 1)=2;
-
- waitfs (3);
-
- ccel (me, 1)=1;
-
- ccel (#12, 1)=1;
-
- }
- end
- End_Chunk
- ;
- ;-------Object 12-------------------------------------------------------
- ;
- Chunk: Standard
- Name: "L_Eye"
- Number: 12
- Size: 500 500 0
- Position: 600 2807 1000
- Type: 9
- Layer: 0
- DFlags: r
- OFlags: Aa
- End_Chunk
- Chunk: Animations
- Number: 1
- Subchunk
- First: 1
- Last: 2
- Phase: 0x0100
- Velocity: 0x0100
- Mode: 0
- End_Chunk
- Chunk: Rotations
- Initial: 0x0000 0x0000 0x0000
- Centre: 250 250 0
- End_Chunk
- ;
- ;-------Object 3-------------------------------------------------------
- ;
- Chunk: Standard
- Name: "Squidge"
- Number: 3
- Size: 1000 4000 1000
- Position: 0 0 0
- Type: 3
- Layer: 0
- DFlags: r
- End_Chunk
- Chunk: Attachments
- Number: 2
- Facet: 54 Object: 11
- Facet: 55 Object: 12
- End_Chunk
- Chunk: InitPos
- Position: 0 0 0
- End_Chunk
- Chunk: LitCols
- Number: 57
- 0xE3 0xE3 0xE3 0xE3 0xE3 0xE3 0xE3 0xE3 0xE3 0xE3 0xE3 0xE3 0xE3 0xE3 0xE3 0xE3
- 0xE3 0xE3 0xE3 0xE3 0xE3 0xE3 0xE3 0xE3 0xE3 0xE3 0xE3 0xE3 0xE3 0xE3 0xE3 0xE3
- 0xE3 0xE3 0xE3 0xE3 0xE3 0xE3 0xE3 0xE3 0xE3 0xE3 0xE3 0xE3 0xE3 0xE3 0xE3 0xE3
- 0xE3 0xE3 0xE3 0xE3 0xE3 0xE3 0xE3 0xE3 0xE3
- End_Chunk
- Chunk: SCL
- long f;
-
-
-
- f=iysize (me)-ysize (me);
-
- write (&xpos (me))=-f/4;
-
- write (&zpos (me))=-f/4;
-
- xsize (me)=ixsize (me)+f/2;
-
- zsize (me)=izsize (me)+f/2;
-
-
- end
- End_Chunk
- Chunk: Rotations
- Initial: 0x0000 0x0000 0x0000
- Centre: 500 0 500
- End_Chunk
- Chunk: InitSize
- Size: 1000 4000 1000
- End_Chunk
-
- End_Children
-
- End_Children
-
- End_Children
-
- End_Children
- ;
- ;-------Object 14-------------------------------------------------------
- ;
- Chunk: Standard
- Name: "mover"
- Number: 14
- Size: 1400 0 1400
- Position: 2000602 2001 2007146
- Type: 65535
- Layer: 0
- DFlags: ME
- End_Chunk
- Chunk: Colours
- Number: 18
- 0x0E 0x0E 0x0E 0x0E 0x0E 0x0E 0x0E 0x0E 0x0E 0x0E 0x0E 0x0E 0x0E 0x0E 0x0E 0x0E
- 0x0E 0x0E
- End_Chunk
- Chunk: Collision
- Number: 1
- SubChunk
- Offset: 699 0 699
- Size: 2 0 2
- End_Chunk
- Chunk: Dynamics
- MovType: 0x80000411
- Fuel: 0
- Climb: 0
- Gravity: 0
- Coupled: 0
- Drive: 0 0 0
- External: 0 0 0
- MaxForce: 0 0 0
- GroundFric: 0 0 0
- Restitution: 0 0 0
- Velocity: 0 0 0
- MaxVel: 0 0 0
- End_Chunk
- Chunk: InitPos
- Position: 2000602 2001 2007146
- End_Chunk
- Chunk: SCL
- long x, y, z, d=200;
-
-
-
- y=ypos (#22)+2000-ypos (me);
-
- x=xpos (#22)-xpos (me);
-
- z=zpos (#22)-zpos (me);
-
- xpos (me)+=x/5;
-
- zpos (me)+=z/5;
-
- if (abs (y)>d*2)
-
- ypos (me)+=d*sgn (y);
-
-
- end
- End_Chunk
- ;
- ;-------Object 22-------------------------------------------------------
- ;
- Chunk: Standard
- Name: "shad"
- Number: 22
- Size: 1320 0 1320
- Position: 1995690 2 2002454
- Type: 15
- Layer: 0
- DFlags: NcM
- End_Chunk
- Chunk: InitPos
- Position: 1995690 2 2002454
- End_Chunk
- Chunk: Colours
- Number: 2
- 0xE1 0xE0
- End_Chunk
- Chunk: SCL
- short s, o, x, ors=1400, ballsz=1400;
-
-
-
- resume (2, 2);
-
- /*
-
- __________________________________________________________________________
-
-
-
- VARIABLES
-
-
-
- s - calculated size of shadow
-
- o - calculated position offset
-
- x - calculated position offset modifier
-
- ors - original shadow object size - constant
-
- ballsz - size of ball - constant
-
-
-
- __________________________________________________________________________
-
-
-
-
-
-
-
-
-
- *//*
-
-
-
-
-
-
-
- ##########################################################################
-
- calculate size of shadow
-
- ##########################################################################
-
- */
-
- s=ors- (ypos (#2)-ypos (me))/5;
-
- /*
-
-
-
-
-
- ##########################################################################
-
- maintain shadow size so that it is
-
- never smaller than a fifth of it's
-
- original size.
-
- ##########################################################################
-
- */
-
-
-
- if (s<ors/5)
-
- s=ors/5;
-
- /*
-
-
-
-
-
-
-
- ##########################################################################
-
- write shadow size
-
- ##########################################################################
-
- */
-
-
-
- write (&xsize (me))=s;
-
- write (&zsize (me))=s;
-
-
-
-
-
- /*
-
-
-
-
-
-
-
- ##########################################################################
-
- work out original horizontal
-
- position offset for unsized
-
- shadow (o) & size modification
-
- offset (x).
-
- ##########################################################################
-
- */
-
- o= (ors-ballsz)/2;
-
- x= (ors-s)/2;
-
- /*
-
-
-
-
-
- ##########################################################################
-
- set position of shadow with offsets
-
- applied
-
- ##########################################################################
-
- */
-
- xpos (me)=xpos (#2)-o+x;
-
- zpos (me)=zpos (#2)-o+x;
-
- if (attr? (object (objon (me)), 22))
-
- {
-
- invis (me);
-
- kill (me);
-
- }
- end
- End_Chunk
- Chunk: Dynamics
- MovType: 0x80000401
- Fuel: 0
- Climb: 0
- Gravity: 10000
- Coupled: 0
- Drive: 0 0 0
- External: 0 0 0
- MaxForce: 0 0 0
- GroundFric: 0 0 0
- Restitution: 0 0 0
- Velocity: 0 0 0
- MaxVel: 0 0 0
- End_Chunk
- ;
- ;-------Object 15-------------------------------------------------------
- ;
- Chunk: Standard
- Name: "Camera"
- Number: 15
- Size: 1000 1000 1000
- Position: 1999700 9729 1984100
- Type: 65535
- Layer: 0
- DFlags: rME
- End_Chunk
- Chunk: Rotations
- Initial: 0x0000 0x0000 0x0000
- Centre: 500 500 500
- End_Chunk
- Chunk: Colours
- Number: 18
- 0x0C 0x0C 0x0C 0x0C 0x0C 0x0C 0x0C 0x0C 0x0C 0x0C 0x0C 0x0C 0x0C 0x0C 0x0C 0x0C
- 0x0C 0x0C
- End_Chunk
- Chunk: InitPos
- Position: 1999700 9729 1984100
- End_Chunk
- Chunk: SCL
- fixed x, y, z;
-
-
-
- ypos (me)=ypos (#13)+8200;
-
- xpos (me)=xpos (#13)-300;
-
- zpos (me)=zpos (#13)-21057;
-
- y=angle3d (#14, me, &x);
-
- xrot (me)=x;
-
- yrot (me)=y;
-
-
- end
- End_Chunk
- Chunk: Dynamics
- MovType: 0x80000411
- Fuel: 0
- Climb: 0
- Gravity: 0
- Coupled: 0
- Drive: 0 0 0
- External: 0 0 0
- MaxForce: 0 0 0
- GroundFric: 0 0 0
- Restitution: 0 0 0
- Velocity: 0 0 0
- MaxVel: 0 0 0
- End_Chunk
- ;
- ;-------Object 13-------------------------------------------------------
- ;
- Chunk: Standard
- Name: "autocam"
- Number: 13
- Size: 1000 1000 1000
- Position: 1959495 100000 2410705
- Type: 65535
- Layer: 0
- DFlags: ME
- End_Chunk
- Chunk: Colours
- Number: 18
- 0x0C 0x0C 0x0C 0x0C 0x0C 0x0C 0x0C 0x0C 0x0C 0x0C 0x0C 0x0C 0x0C 0x0C 0x0C 0x0C
- 0x0C 0x0C
- End_Chunk
- Chunk: InitPos
- Position: 1959495 100000 2410705
- End_Chunk
- Chunk: SCL
- long x, y, z, min=2000;
-
-
-
- y=ypos (#22)+2000-ypos (me);
-
- x=xpos (#22)-xpos (me);
-
- z=zpos (#22)-zpos (me);
-
- if (abs (x)>min)
-
- xpos (me)+=x/20;
-
- if (abs (z)>min)
-
- zpos (me)+=z/20;
-
- if (abs (y)>min)
-
- ypos (me)+=y/20;
-
-
- end
- End_Chunk
- Chunk: Dynamics
- MovType: 0x80000411
- Fuel: 0
- Climb: 0
- Gravity: 0
- Coupled: 0
- Drive: 0 0 0
- External: 0 0 0
- MaxForce: 0 0 0
- GroundFric: 0 0 0
- Restitution: 0 0 0
- Velocity: 0 0 0
- MaxVel: 0 0 0
- End_Chunk
- End_File